﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class Controls_ClassListBox : System.Web.UI.UserControl
{
    private string pageurl;
    public string PageUrl
    {
        get { return pageurl; }
        set { pageurl = value; }
    }

    private int count = 10;

    public int Count
    {
        get { return count; }
        set { count = value; }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        BindList();
    }

    protected void BindList()
    {
        titlelist.DataSource = new Cstudy.BLL.postClass().SelectPostClassOrderBy();
        titlelist.DataBind();
    }
}